package com.imooc.miaosha.exception;

import com.imooc.miaosha.result.CodeMsg;

public class GlobalException extends RuntimeException{

	private static final long serialVersionUID = 31665074385012932L;
	private CodeMsg cm;

	public GlobalException(CodeMsg cm){
		this.cm = cm;
	}
	public CodeMsg getCm() {
		return cm;
	}

}
